package com.huanbao.oil.app.socket.data;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * Created by xuhao on 2017/5/22.
 */

public class HandShake extends DefaultSendBean {
public String HandShake_Json="";

    public HandShake(String sss) {
        JSONObject jsonObject = new JSONObject();
        try {
            jsonObject.put("cmd_type", 54);
            jsonObject.put("pnt_name", sss);
            jsonObject.put("pnt_type", 321);
            content = jsonObject.toString();
            HandShake_Json=content;
        } catch (JSONException e) {
            e.printStackTrace();
        }
    }

    @Override
    public String toString() {
        return "HandShake_Json=="+HandShake_Json;
    }
}
